package com.ikun.admin.modules.gen.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 字段类型表
 * </p>
 *
 * @author ${author}
 * @since 2024-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("gen_field_type")
@ApiModel(value="FieldType对象", description="字段类型表 ")
public class FieldType implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "字段类型名")
    private String fieldLabel;

    @ApiModelProperty(value = "字段类型值")
    private String fieldValue;

    @ApiModelProperty(value = "可选长度")
    private Integer typeLength;

    @ApiModelProperty(value = "可选保留位数")
    private Integer typeHold;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
